<html>
    <head>
        <title>File Manager</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="../css/design-workflow.css" type="text/css" rel="stylesheet"/>
        
        <script type="text/javascript" src="../js/jquery/jquery-1.2.6.js"></script>
        <script type="text/javascript" src="../js/jquery/thickbox/thickbox.js"></script>
        
        <script type="text/javascript" src="../js/commons/commons.js"></script>
        <script type="text/javascript" src="../js/commons/jquery_xml.js"></script>       
        <script type="text/javascript" src="../js/components/systable/systable.js"></script>
        
        <script type="text/javascript" src="../js/fms/layout.js"></script>
        <script type="text/javascript" src="../js/fms/file_manager.js"></script>
        
        <script type="text/javascript">
            
            var fileTemplateStr = '<p>$File_Title$$File_Size$$File_Desc$</p>';
            
            function fillFileList() {  
                var url = '../stringRes?s=fileAction';
                var params = {};
                $.get(url, params, function(result) {
                    var files = eval(result);
                    for(var i = 0; i < files.length; i++) {
                        var fileHtml = fileTemplateStr;
                        // TODO 替换
                        $("#FileListDiv").append(fileHtml);
                    }
                });
            }
            
            $(document).ready(function() {
                pageInit();
                
                // layout
                layoutInit();
            });
            
        </script>
    </head>
    
    <body>
        <div id="box">
            <!-- head -->
            <div id="header" align="left">
                <div id="HiddenContent" style="display:none;">
                </div>
            </div>
            
            <!-- left -->
            <div id="left" align="left">
                <div id="left_title">标签</div>
                <div id="left_nav_content">
                    <div style="padding:5px;"><a href="javascript:">所有的文件</a></div>
                </div>
            </div>
            
            <!-- content -->
            <div id="content"><!-- replace with content --></div>  
            
            <!-- foot -->
            <div id="footer">
                <div>
                    &copy; 2007 Powerhua. All rights reserved.
                </div>
            </div> 
        </div>
    </body>
</html>
